/*
 * Copyright (c) 2023, 2023,yzc.cn All rights reserved.
 *
 */
package cn.yzc.service.impl;

import cn.yzc.mapper.PersonnelMapper;
import cn.yzc.pojo.Personnel;
import cn.yzc.pojo.Sift;
import cn.yzc.service.PersonnelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>Project: SpringPro - PersonnelServiceImpl</p>
 * <p>Powered by yzc On 2023-10-26 20:18:23</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Service
public class PersonnelServiceImpl implements PersonnelService {

    @Autowired
    PersonnelMapper personnelMapper;

    @Override
    public int insert(Personnel personnel) {
        return personnelMapper.insert(personnel);
    }

    @Override
    public Map queryLogs(Sift sift) {


        return personnelMapper.queryLogs(sift);

    }
}
